<!--
 * @Author: your name
 * @Date: 2021-08-10 10:33:46
 * @LastEditTime: 2021-08-10 11:02:50
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\3-html&css\day07\04-盒子的宽高.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子的宽高</title>
    <style>
        div {
            min-width:400px;
            width:200px;
            height:200px;
            border:10px solid red;
        }
        p {
            max-width:30px;
        }
    </style>

</head>
<body>
    <div>
        内容区域
        <p>段落</p>
    </div>
</body>
</html>